import request from '@/utils/request'

export function getAllDeptCategory(data) {
  return request({
    url: '/archDeptCategory/getAllDeptCategory',
    method: 'post',
    data
  })
}

export function addDeptCategory(data) {
  return request({
    url: '/archDeptCategory/addDeptCategory',
    method: 'post',
    data
  })
}

export function updateDeptCategory(data) {//TODO
  return request({
    url: '/archDeptCategory/updateDeptCategory',
    method: 'post',
    data
  })
}